package com.myjpa.repository;

import com.myjpa.entity.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author: yaoll
 * @date: 2020-09-04
 * @verison: 1.0
 */
public interface OrderRepository extends JpaRepository<Order, Integer> {

	List<Order> findAllBySn(String sn);

}
